/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package ejercicio.practica8;

import java.text.ParseException;
import java.util.ArrayList;

/**
 *
 * @author manolo
 */
public class UsaConductores {

    public static void main(String[] args) throws ParseException {
        ArrayList<Conductor> listaconductores;
        listaconductores = new ArrayList<>();
        
        listaconductores.add(new Conductor("Manolo", "31", 10));
        listaconductores.add(new Conductor("Pepe", "22", 8));
        listaconductores.add(new Conductor("María", "12", 4));
        
        Conductores c1 = new Conductores(listaconductores);
        Conductores c2 = new Conductores(listaconductores);

        c1.start();
        c2.start();

    }
}
